package com.eshop.we.leaseorder.api;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.eshop.we.leaseorder.entity.LeaseOrder;

/**
 * <p>
 * 出租订单 服务类
 * </p>
 *
 * @author anonymity
 * @since 2018-07-06
 */
public interface LeaseOrderService extends IService<LeaseOrder> {

    /**
     * 租书列表
     * @param page
     * @return
     */
    Page<LeaseOrder> selectLeasePage(Page<LeaseOrder> page);

    /**
     * 租书收益列表
     * @param page
     * @return
     */
    Page<LeaseOrder> selectIncomePage(Page<LeaseOrder> page);


    Page<LeaseOrder> selectLeaseOrderPage(Page<LeaseOrder> page, String orderNum, String providerName, String consumerName, String startDate, String endDate, Integer status);
}
